package com.uam.service.impl;


import com.baomidou.mybatisplus.core.conditions.Wrapper;
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.conditions.query.QueryChainWrapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.uam.db.mapper.LoginUserConvert;
import com.uam.db.mapper.UserConvert;
import com.uam.db.mapper.UserMapper;
import com.uam.db.model.bo.UserAddBo;
import com.uam.db.model.bo.UserBo;
import com.uam.db.model.bo.UserListBO;
import com.uam.db.model.entity.SysOperLog;
import com.uam.db.model.entity.User;
import com.uam.db.model.vo.UserListVO;
import com.uam.service.UserService;
import com.uam.web.common.model.Result;
import org.apache.tomcat.util.net.openssl.ciphers.Authentication;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.security.authentication.AuthenticationManager;
import org.springframework.security.authentication.UsernamePasswordAuthenticationToken;
import org.springframework.stereotype.Service;

/**
 * <p>
 * 服务实现类
 * </p>
 *
 * @author GoryLee
 * @since 2022-11-14
 */
@Service
public class UserServiceImpl extends ServiceImpl<UserMapper, User> implements UserService {

    @Override
    public User getUser(UserBo query) {

        User user = this.getById(query.getUserId());
        return user;
    }
}